Creating scripts manually
You can run data loads by entering the scripts manually.
Procedure
- Create a
scriptset.
- Click the
Scripts tab.
- Click the
Control Folder.
- Click the
Importers
button.
- Import the data file.
- Click the
Table Declaration button.
- Enter the data, for example:
BEGIN TABLE_DECLARATION
format = FLAT
scriptfile = PERSON.TXT
datfile = PersonData.dat
type = REFRESH
width = 81
date = 16012004
END TABLE_DECLARATION
When a table has been declared and the Control File saved, a sub-folder is created which holds the table definitions.
- Select the
Person.txt folder.
- Click the
Table Definition button.
- Enter the data, for example:
TABLE = [test].[person]
BEGIN TABLE_DEFINITION
FID , TEXT , 0 , 8
Forename , TEXT , 8 , 20
Surname , TEXT , 28 , 30
GENDER , TEXT , 58 , 1
END TABLE_DEFINITION
This provides the information necessary to run a simple data load.
- Check your data is valid by using the
Data Validation utility button.
This checks the length of the first record and compares the all subsequent rows, reporting any differences.
- Perform any other required tasks from the
Scripts tab, for example
linking databases and
creating remaps.
- Perform any data engineering before or after the data load.preload and
post load processes can also be applied to the data load.
|
|